package com.dashen.sso.server.config.runner;

import org.springframework.beans.BeansException;
import org.springframework.boot.CommandLineRunner;
import org.springframework.context.ApplicationContext;
import org.springframework.context.ApplicationContextAware;
import org.springframework.stereotype.Component;

/**
 * @author  Barry Wang
 */
@Component
public class DaShenCommandLineRunner implements CommandLineRunner , ApplicationContextAware {

    public ApplicationContext applicationContext;


    @Override
    public void run(String... args) throws Exception {

    }

    @Override
    public void setApplicationContext(ApplicationContext applicationContext) throws BeansException {
        this.applicationContext = applicationContext;
    }
}
